import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import axios from "axios";
import Vueaxios from "vue-axios";
// axios配置之前把基础路径配置
axios.defaults.baseURL = "http://127.0.0.1:3000/";
Vue.use(Vueaxios,axios);

// 引入ElementUI组件
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);
// 引入Echarts
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts


Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
